package com.xiaoye.qbproject.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 情报专题订阅
 * @TableName QB_SUBJECT_SUBSCRIPTION
 */
@TableName(value ="QB_SUBJECT_SUBSCRIPTION")
@Data
public class QbSubjectSubscription implements Serializable {
    /**
     * 专题id
     */
    @TableField(value = "SUBJECT_ID")
    private String subjectId;

    /**
     * 用户id
     */
    @TableField(value = "USER_ID")
    private String userId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;



    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", subjectId=").append(subjectId);
        sb.append(", userId=").append(userId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}